<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="PersonneViewDlg" widgetVar="PersonneViewDialog" modal="true" resizable="false" appendToBody="true" header="#{bundle.ViewPersonneTitle}">

            <h:form id="PersonneViewForm">
                <p:scrollPanel style="width:620px;height:700px" scrollMode="native">
                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{personneController.selected != null}">

                        <h:outputText value="#{bundle.ViewPersonneLabel_idPersonne}"/>
                        <h:outputText value="#{personneController.selected.idPersonne}" title="#{bundle.ViewPersonneTitle_idPersonne}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_cin}"/>
                        <h:outputText value="#{personneController.selected.cin}" title="#{bundle.ViewPersonneTitle_cin}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_nom}"/>
                        <h:outputText value="#{personneController.selected.nom}" title="#{bundle.ViewPersonneTitle_nom}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_prenom}"/>
                        <h:outputText value="#{personneController.selected.prenom}" title="#{bundle.ViewPersonneTitle_prenom}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_sexe}"/>
                        <h:outputText value="#{personneController.selected.sexe}" title="#{bundle.ViewPersonneTitle_sexe}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_dateNaissance}"/>
                        <h:outputText value="#{personneController.selected.dateNaissance}" title="#{bundle.ViewPersonneTitle_dateNaissance}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>

                        <h:outputText value="#{bundle.ViewPersonneLabel_cp}"/>
                        <h:outputText value="#{personneController.selected.cp}" title="#{bundle.ViewPersonneTitle_cp}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_adresse}"/>
                        <h:outputText value="#{personneController.selected.adresse}" title="#{bundle.ViewPersonneTitle_adresse}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_telephone1}"/>
                        <h:outputText value="#{personneController.selected.telephone1}" title="#{bundle.ViewPersonneTitle_telephone1}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_telephone2}"/>
                        <h:outputText value="#{personneController.selected.telephone2}" title="#{bundle.ViewPersonneTitle_telephone2}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_dateIntegration}"/>
                        <h:outputText value="#{personneController.selected.dateIntegration}" title="#{bundle.ViewPersonneTitle_dateIntegration}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>

                        <h:outputText value="#{bundle.ViewPersonneLabel_dateRdv}"/>
                        <h:outputText value="#{personneController.selected.dateRdv}" title="#{bundle.ViewPersonneTitle_dateRdv}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>

                        <h:outputText value="#{bundle.ViewPersonneLabel_photo}"/>
                        <h:outputText value="#{personneController.selected.photo}" title="#{bundle.ViewPersonneTitle_photo}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_autorisationPaternelleDAccompagnementDEnfantParNom}"/>
                        <h:outputText value="#{personneController.selected.autorisationPaternelleDAccompagnementDEnfantParNom}" title="#{bundle.ViewPersonneTitle_autorisationPaternelleDAccompagnementDEnfantParNom}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_autorisationPaternelleDAccompagnementDEnfantParTel}"/>
                        <h:outputText value="#{personneController.selected.autorisationPaternelleDAccompagnementDEnfantParTel}" title="#{bundle.ViewPersonneTitle_autorisationPaternelleDAccompagnementDEnfantParTel}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_personneCasUrgenceNom}"/>
                        <h:outputText value="#{personneController.selected.personneCasUrgenceNom}" title="#{bundle.ViewPersonneTitle_personneCasUrgenceNom}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_personneCasUrgenceTel}"/>
                        <h:outputText value="#{personneController.selected.personneCasUrgenceTel}" title="#{bundle.ViewPersonneTitle_personneCasUrgenceTel}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_enfantATIlEteEveParSesParents}"/>
                        <h:outputText value="#{personneController.selected.enfantATIlEteEveParSesParents}" title="#{bundle.ViewPersonneTitle_enfantATIlEteEveParSesParents}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_eleveParQuiNom}"/>
                        <h:outputText value="#{personneController.selected.eleveParQuiNom}" title="#{bundle.ViewPersonneTitle_eleveParQuiNom}"/>

               

                        <h:outputText value="#{bundle.ViewPersonneLabel_idSituation}"/>
                        <h:outputText value="#{personneController.selected.idSituation.idSituation}"/>

                        

                        <h:outputText value="#{bundle.ViewPersonneLabel_idPere}"/>
                        <h:outputText value="#{personneController.selected.idPere.idPersonne}"/>

                        

                        <h:outputText value="#{bundle.ViewPersonneLabel_idMere}"/>
                        <h:outputText value="#{personneController.selected.idMere.idPersonne}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_idQuartier}"/>
                        <h:outputText value="#{personneController.selected.idQuartier.idQuartier}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_idProfile}"/>
                        <h:outputText value="#{personneController.selected.idProfile.idProfile}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_idNiveau}"/>
                        <h:outputText value="#{personneController.selected.idNiveau.idNiveau}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_idGroupe}"/>
                        <h:outputText value="#{personneController.selected.idGroupe.idGroupe}"/>

                        <h:outputText value="#{bundle.ViewPersonneLabel_idPriseEnCharge}"/>
                        <h:outputText value="#{personneController.selected.idPriseEnCharge.idPriseEnCharge}"/>

                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="PersonneViewDialog.hide()"/>
                </h:panelGroup>
</p:scrollPanel>
            </h:form>

        </p:dialog>

    </ui:composition>

</html>
